﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Events;

namespace AMailLib.Unittests.Mocks
{
  public class EventAggregatorMock : IEventAggregator
  {
    public TEventType GetEvent<TEventType>() where TEventType : EventBase
    {
      return Activator.CreateInstance<TEventType>();
    }
  }
}
